package com.ruoyi.environment.mapper;

import java.util.List;
import com.ruoyi.environment.domain.OpmEnvEquipment;

/**
 * 园区设备Mapper接口
 * 
 * @author cjie
 * @date 2021-07-23
 */
public interface OpmEnvEquipmentMapper {
    /**
     * 查询园区设备
     * 
     * @param id 园区设备ID
     * @return 园区设备
     */
     OpmEnvEquipment selectOpmEnvEquipmentById(Long id);

    /**
     * 查询园区设备列表
     * 
     * @param opmEnvEquipment 园区设备
     * @return 园区设备集合
     */
     List<OpmEnvEquipment> selectOpmEnvEquipmentList(OpmEnvEquipment opmEnvEquipment);

    /**
     * 新增园区设备
     * 
     * @param opmEnvEquipment 园区设备
     * @return 结果
     */
     int insertOpmEnvEquipment(OpmEnvEquipment opmEnvEquipment);

    /**
     * 修改园区设备
     * 
     * @param opmEnvEquipment 园区设备
     * @return 结果
     */
     int updateOpmEnvEquipment(OpmEnvEquipment opmEnvEquipment);

    /**
     * 删除园区设备
     * 
     * @param id 园区设备ID
     * @return 结果
     */
     int deleteOpmEnvEquipmentById(Long id);

    /**
     * 批量删除园区设备
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
     int deleteOpmEnvEquipmentByIds(Long[] ids);
}
